package com.qiaofang.dataprocessing.service;

import com.qiaofang.common.model.page.PageDTO;
import com.qiaofang.dataprocessing.stub.bean.PageCustomizeDTO;
import com.qiaofang.dataprocessing.stub.bean.request.PropertyEntrustRequest;
import com.qiaofang.dataprocessing.stub.bean.response.PropertyEntrustDTO;

/**
 * @Author: youqing.yang
 * @Create: 2020/12/15 16:05
 * @Description:
 **/
public interface PropertyEntrustService {

    /**
     * 分页查询房源委托
     *
     * @param propertyEntrustRequest
     * @param page
     * @return
     */
    PageCustomizeDTO<PropertyEntrustDTO> getPropertyEntrustPage(PropertyEntrustRequest propertyEntrustRequest, PageDTO page);

    Integer acceptEntrustMyself(Long propertyEntrustId);
}
